Skip to content

Revert unintended test expectation change #9625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

athos-ribeiro
Copy link
Contributor

Commit fbe3059 included an unintended change to the test which checks if dns_get_record populates its additional parameter. This patch reverts such change.

The issue was not detected by the CIs because their tests run in the --offline mode, and the test in question needs internet connection.

Commit fbe3059 included an unintended change to the test which checks if
dns_get_record populates its additional parameter. This patch reverts
such change.

The issue was not detected by the CIs because their tests run in
the --offline mode, and the test in question needs internet connection.
@cmb69
Copy link
Member

cmb69 commented Sep 28, 2022

Indeed, expecting bool(true) defeats the purpose of the test. I wonder why it had been changed. Maybe @kocsismate remembers?

@kocsismate
Copy link
Member

Oh my bad.. When running the test locally (I use a Mac), I got this result, then I used bless_test.php and I didn't notice the change. :(

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, it might be a good idea to check that macOS issue then, but generally we should fix the expectation for now.

Thank you!

@cmb69 cmb69 closed this in e6a822d Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants